import {PAGE} from '../constants';
import {partOrderStatus} from '../Enum';

export const PAGE_CODE = 'dcs-parts-partDataModifyLog';

export const PERMISSION = {
    deliveryOrder: 'deliveryOrder',
    partSaleOrder: 'partSaleOrder',
};

export const DEFAULT_QUERY_OPTION = {
    dealerCode: '',
    brandCode: '',
    codes: [],
    prtDataTypes: [],
    confirmerName: '',
    confirmTime: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'createTime',
    isDesc: false,
};
export const orderStatus = partOrderStatus.pick([
    partOrderStatus.新建,
    partOrderStatus.提交
]);
